nhooyr.io/websocket.slidingWindow.buf (field)
22 uses
nhooyr.io/websocket (current package)
compress.go#L168: buf []byte
compress.go#L192: if sw.buf != nil {
compress.go#L205: sw.buf = make([]byte, 0, n)
compress.go#L210: sw.buf = sw.buf[:0]
compress.go#L212: swPool[cap(sw.buf)].Put(sw)
compress.go#L217: if len(p) >= cap(sw.buf) {
compress.go#L218: sw.buf = sw.buf[:cap(sw.buf)]
compress.go#L219: p = p[len(p)-cap(sw.buf):]
compress.go#L220: copy(sw.buf, p)
compress.go#L224: left := cap(sw.buf) - len(sw.buf)
compress.go#L228: copy(sw.buf, sw.buf[spaceNeeded:])
compress.go#L229: sw.buf = sw.buf[:len(sw.buf)-spaceNeeded]
compress.go#L232: sw.buf = append(sw.buf, p...)
read.go#L122: mr.flateReader = getFlateReader(mr.flateBufio, mr.dict.buf)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |